home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98a.txt / 000002_icon-group-sender _Tue Jan 13 12:31:51 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  3KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.7/8.8.7) with SMTP id MAA13737
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 13 Jan 1998 12:31:51 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA21125; Tue, 13 Jan 1998 12:31:51 -0700
  7. From: gep2@computek.net
  8. Date: Tue, 13 Jan 1998 11:10:44 -0600
  9. Message-Id: <199801131710.LAA12356@axp.cmpu.net>
  10. Mime-Version: 1.0
  11. Content-Type: text/plain
  12. Content-Transfer-Encoding: 7bit
  13. Subject: Re: Stripping blank and comment lines
  14. To: icon-group@optima.CS.Arizona.EDU
  15. In-Reply-To: <v04003901b0e0c25d0101@[204.148.87.66]>
  16. X-Mailer: SPRY Mail Version: 04.00.06.17
  17. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  18. Status: RO
  19. Content-Length: 1782
  20.  
  21. Well, in the spirit of commenting on style...
  22.  
  23. Personally, I've never understood how it is that people think it makes sense to 
  24. append a type PREFIX to a variable name.
  25.  
  26. I think that (if you need one at all) a type SUFFIX is *far* more intelligent.  
  27. In a sorted XREF, it's absurd to sort variables principally by their data type 
  28. anyhow.  If you have a number of variables regarding dates, for example, you'd 
  29. want things like DateP (date pattern), DateMonth, DateYear, DateDay, DateWkDay, 
  30. DateLeap, etc to all sort together in the Xref, regardless of that some of them 
  31. might be flags, others might be character strings, others might be patterns and 
  32. some might be numbers.  It's the height of idiocy to propose a naming system 
  33. where the data type is the most important ordering item.  Imagine a dictionary 
  34. where "dog", "doglike", "doggy", "doghouse", "dogcollar" and "dogsmell" were 
  35. sorted and arranged in a dictionary starting from the RIGHT-hand end of each 
  36. word!
  37.  
  38. I'm not accusing the poster of originating this claptrap, but I do think it's 
  39. interesting that so many people, lemming-like, adopt such absurd conventions 
  40. that some obvious loon dreams up and proposes as a naming convention "standard".
  41.  
  42. It's especially strange in a language like Icon or S*BOL where the type of a 
  43. variable can be QUITE variable during the execution of a program!  
  44.  
  45. Again, please don't take this as a personal attack on the poster... it's really 
  46. intended more as a GENERAL observation on an industry's willingness to stupidly 
  47. follow the most ABSURD of Pied Pipers.
  48.  
  49. Glad to be able to get that off my chest.  :-)  (the post obviously touched a 
  50. nerve here)   :-)))
  51.  
  52. Gordon Peterson
  53. http://www.computek.net/public/gep2/
  54. Support the Anti-SPAM Amendment!  Join at http://www.cauce.org/
  55.  
  56.